\hypertarget{class_filter}{\section{Filter$<$ Input, Output $>$ Class Template Reference}
\label{class_filter}\index{Filter$<$ Input, Output $>$@{Filter$<$ Input, Output $>$}}
}


{\ttfamily \#include $<$Filter.\-hpp$>$}

Inheritance diagram for Filter$<$ Input, Output $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_filter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_filter_a26282b9a6450620f843ad860944a2e95}{$\sim$\-Filter} ()
\item 
virtual Output \hyperlink{class_filter_a377c1d2a9400698fdf5a41d293fd32b8}{Apply} (const Input \&input) const =0
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Input, typename Output = Input$>$class Filter$<$ Input, Output $>$}

The \hyperlink{class_filter}{Filter} template class is a base class for filters that take a value and output a value.


\begin{DoxyTemplParams}{Template Parameters}
{\em Input} & The type of the input object. \\
\hline
{\em Output} & The type of the output object. \\
\hline
\end{DoxyTemplParams}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_filter_a26282b9a6450620f843ad860944a2e95}{\index{Filter@{Filter}!$\sim$\-Filter@{$\sim$\-Filter}}
\index{$\sim$\-Filter@{$\sim$\-Filter}!Filter@{Filter}}
\subsubsection[{$\sim$\-Filter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Input, typename Output = Input$>$ virtual {\bf Filter}$<$ Input, Output $>$\-::$\sim${\bf Filter} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_filter_a26282b9a6450620f843ad860944a2e95}
Destructor for \hyperlink{class_filter}{Filter}. 

\subsection{Member Function Documentation}
\hypertarget{class_filter_a377c1d2a9400698fdf5a41d293fd32b8}{\index{Filter@{Filter}!Apply@{Apply}}
\index{Apply@{Apply}!Filter@{Filter}}
\subsubsection[{Apply}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Input, typename Output = Input$>$ virtual Output {\bf Filter}$<$ Input, Output $>$\-::Apply (
\begin{DoxyParamCaption}
\item[{const Input \&}]{input}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_filter_a377c1d2a9400698fdf5a41d293fd32b8}
Apply the filter to an input.


\begin{DoxyParams}{Parameters}
{\em input} & A reference to the input (which will not get modified). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The output of the filtered input. 
\end{DoxyReturn}


Implemented in \hyperlink{class_compound_filter_ac2a4357f774a94412fd90007796f5b94}{Compound\-Filter$<$ Input, Output $>$}, \hyperlink{class_compound_filter_ac2a4357f774a94412fd90007796f5b94}{Compound\-Filter$<$ Two\-Joystick\-Value, Output $>$}, \hyperlink{class_compound_filter_ac2a4357f774a94412fd90007796f5b94}{Compound\-Filter$<$ Joystick\-Value, Output $>$}, \hyperlink{class_activatable_filter_a631243667c97dd9a676bfb55e5f2c0e4}{Activatable\-Filter$<$ Value $>$}, \hyperlink{class_scale_filter_ac145fd0a6d09cd754ef20ba60841467f}{Scale\-Filter$<$ Value $>$}, \hyperlink{class_cast_filter_a4de90c7502ff69eea369a17cc680739b}{Cast\-Filter$<$ Input, Output $>$}, \hyperlink{class_arcade_modern_drive_filter_aa4541e919491b1d237b9693bea953527}{Arcade\-Modern\-Drive\-Filter}, \hyperlink{class_tank_strafe_drive_filter_a712bf95ce43e325d3f5c6b34adc80005}{Tank\-Strafe\-Drive\-Filter}, \hyperlink{class_arcade_strafe_drive_filter_a34cf4ba16de80e654de89670b5bd963b}{Arcade\-Strafe\-Drive\-Filter}, \hyperlink{class_deadzone_filter_aff26f9be31f1f37ad0a42d0bc636ad57}{Deadzone\-Filter}, \hyperlink{class_deadzone_filter_a76118544494a1c189200749b06f53640}{Deadzone\-Filter}, \hyperlink{class_arcade_drive_filter_ad89789eb979a29705f86f1c640d69ea3}{Arcade\-Drive\-Filter}, and \hyperlink{class_tank_drive_filter_a4ea7aec822c975de2d553bb52af9bc3d}{Tank\-Drive\-Filter}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/\-Filters/Filter.\-hpp\end{DoxyCompactItemize}
